[INFO] fetching crate mousetool 0.1.0...
[INFO] fixing mousetool-0.1.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] extracting crate mousetool 0.1.0 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate mousetool 0.1.0
[INFO] finished tweaking crates.io crate mousetool 0.1.0
[INFO] tweaked toml for crates.io crate mousetool 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate mousetool 0.1.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate mousetool 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 24cb42327991d1e88389790396516418adfa1c346431a6b810985ed23ed40a54
[INFO] running `Command { std: "docker" "start" "24cb42327991d1e88389790396516418adfa1c346431a6b810985ed23ed40a54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "24cb42327991d1e88389790396516418adfa1c346431a6b810985ed23ed40a54" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "24cb42327991d1e88389790396516418adfa1c346431a6b810985ed23ed40a54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "24cb42327991d1e88389790396516418adfa1c346431a6b810985ed23ed40a54" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]     Checking rand_core v0.10.1
[INFO] [stderr]     Checking cpufeatures v0.3.0
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking memchr v2.8.1
[INFO] [stderr]     Checking chacha20 v0.10.0
[INFO] [stderr]     Checking serde_json v1.0.150
[INFO] [stderr]     Checking rand v0.10.1
[INFO] [stderr]     Checking mousetool v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::shared::basetsd::UINT_PTR;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::shared::minwindef::{HINSTANCE, LPARAM, LRESULT, UINT, WPARAM};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::shared::windef::{HBRUSH, HWND, POINT, RECT, SIZE};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::um::libloaderapi::GetModuleHandleW;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | use winapi::um::wingdi::{CreateSolidBrush, DeleteObject, RGB};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 | use winapi::um::winuser::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]    --> src/main.rs:235:18
[INFO] [stdout]     |
[INFO] [stdout] 235 |     use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]     |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/mod.rs:56:4
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/mod.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::shared::basetsd::UINT_PTR;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::shared::minwindef::{HINSTANCE, LPARAM, LRESULT, UINT, WPARAM};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::shared::windef::{HBRUSH, HWND, POINT, RECT, SIZE};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::um::libloaderapi::GetModuleHandleW;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | use winapi::um::wingdi::{CreateSolidBrush, DeleteObject, RGB};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 | use winapi::um::winuser::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]    --> src/main.rs:235:18
[INFO] [stdout]     |
[INFO] [stdout] 235 |     use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]     |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/mod.rs:56:4
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/mod.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `INPUT` in this scope
[INFO] [stdout]    --> src/main.rs:163:45
[INFO] [stdout]     |
[INFO] [stdout] 163 | ...                   let mut input = INPUT {
[INFO] [stdout]     |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INPUT_MOUSE` in this scope
[INFO] [stdout]    --> src/main.rs:164:40
[INFO] [stdout]     |
[INFO] [stdout] 164 | ...                   type_: INPUT_MOUSE,
[INFO] [stdout]     |                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_LEFTUP` in this scope
[INFO] [stdout]    --> src/main.rs:167:56
[INFO] [stdout]     |
[INFO] [stdout] 167 | ...                   input.u.mi_mut().dwFlags = MOUSEEVENTF_LEFTUP;
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `INPUT` in this scope
[INFO] [stdout]    --> src/main.rs:189:49
[INFO] [stdout]     |
[INFO] [stdout] 189 | ...                   let mut input = INPUT {
[INFO] [stdout]     |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INPUT_MOUSE` in this scope
[INFO] [stdout]    --> src/main.rs:190:44
[INFO] [stdout]     |
[INFO] [stdout] 190 | ...                   type_: INPUT_MOUSE,
[INFO] [stdout]     |                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_LEFTDOWN` in this scope
[INFO] [stdout]    --> src/main.rs:193:60
[INFO] [stdout]     |
[INFO] [stdout] 193 | ...                   input.u.mi_mut().dwFlags = MOUSEEVENTF_LEFTDOWN;
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PAINTSTRUCT` in this scope
[INFO] [stdout]    --> src/main.rs:215:29
[INFO] [stdout]     |
[INFO] [stdout] 215 |                 let mut ps: PAINTSTRUCT = std::mem::zeroed();
[INFO] [stdout]     |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_CXVIRTUALSCREEN` in this scope
[INFO] [stdout]    --> src/main.rs:380:54
[INFO] [stdout]     |
[INFO] [stdout] 380 |         let screen_width = unsafe { GetSystemMetrics(SM_CXVIRTUALSCREEN) };
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_CYVIRTUALSCREEN` in this scope
[INFO] [stdout]    --> src/main.rs:381:55
[INFO] [stdout]     |
[INFO] [stdout] 381 |         let screen_height = unsafe { GetSystemMetrics(SM_CYVIRTUALSCREEN) };
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope
[INFO] [stdout]    --> src/main.rs:383:18
[INFO] [stdout]     |
[INFO] [stdout] 383 |         let wc = WNDCLASSW {
[INFO] [stdout]     |                  ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in this scope
[INFO] [stdout]    --> src/main.rs:384:20
[INFO] [stdout]     |
[INFO] [stdout] 384 |             style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stdout]     |                    ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in this scope
[INFO] [stdout]    --> src/main.rs:384:33
[INFO] [stdout]     |
[INFO] [stdout] 384 |             style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stdout]     |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope
[INFO] [stdout]    --> src/main.rs:390:46
[INFO] [stdout]     |
[INFO] [stdout] 390 |             hCursor: LoadCursorW(null_mut(), IDC_ARROW),
[INFO] [stdout]     |                                              ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_LAYERED` in this scope
[INFO] [stdout]    --> src/main.rs:447:13
[INFO] [stdout]     |
[INFO] [stdout] 447 |             WS_EX_LAYERED | WS_EX_TOPMOST | WS_EX_TOOLWINDOW | WS_EX_TRANSPARENT,
[INFO] [stdout]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOPMOST` in this scope
[INFO] [stdout]    --> src/main.rs:447:29
[INFO] [stdout]     |
[INFO] [stdout] 447 |             WS_EX_LAYERED | WS_EX_TOPMOST | WS_EX_TOOLWINDOW | WS_EX_TRANSPARENT,
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOOLWINDOW` in this scope
[INFO] [stdout]    --> src/main.rs:447:45
[INFO] [stdout]     |
[INFO] [stdout] 447 |             WS_EX_LAYERED | WS_EX_TOPMOST | WS_EX_TOOLWINDOW | WS_EX_TRANSPARENT,
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_TRANSPARENT` in this scope
[INFO] [stdout]    --> src/main.rs:447:64
[INFO] [stdout]     |
[INFO] [stdout] 447 |             WS_EX_LAYERED | WS_EX_TOPMOST | WS_EX_TOOLWINDOW | WS_EX_TRANSPARENT,
[INFO] [stdout]     |                                                                ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope
[INFO] [stdout]    --> src/main.rs:450:13
[INFO] [stdout]     |
[INFO] [stdout] 450 |             WS_POPUP | WS_VISIBLE,
[INFO] [stdout]     |             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope
[INFO] [stdout]    --> src/main.rs:450:24
[INFO] [stdout]     |
[INFO] [stdout] 450 |             WS_POPUP | WS_VISIBLE,
[INFO] [stdout]     |                        ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `LWA_ALPHA` in this scope
[INFO] [stdout]    --> src/main.rs:469:50
[INFO] [stdout]     |
[INFO] [stdout] 469 |         SetLayeredWindowAttributes(hwnd, 0, 128, LWA_ALPHA);
[INFO] [stdout]     |                                                  ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope
[INFO] [stdout]    --> src/main.rs:471:26
[INFO] [stdout]     |
[INFO] [stdout] 471 |         ShowWindow(hwnd, SW_SHOW);
[INFO] [stdout]     |                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MSG` in this scope
[INFO] [stdout]    --> src/main.rs:474:22
[INFO] [stdout]     |
[INFO] [stdout] 474 |         let mut msg: MSG = std::mem::zeroed();
[INFO] [stdout]     |                      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RefCell` and `UnsafeCell`
[INFO] [stdout]  --> src/main.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cell::{RefCell, UnsafeCell};
[INFO] [stdout]   |                 ^^^^^^^  ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Mutex`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::Mutex;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `env`
[INFO] [stdout]   --> src/main.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::{env, mem};
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Args`, `Command`, and `command`
[INFO] [stdout]   --> src/main.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | use clap::{Args, Command, Parser, Subcommand, command};
[INFO] [stdout]    |            ^^^^  ^^^^^^^                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope
[INFO] [stdout]    --> src/main.rs:116:21
[INFO] [stdout]     |
[INFO] [stdout] 116 |                     GetCursorPos(&mut cursor_pos);
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTimer` in this scope
[INFO] [stdout]    --> src/main.rs:122:21
[INFO] [stdout]     |
[INFO] [stdout] 122 |                     SetTimer(hwnd, TIMER_ID, 10, None);
[INFO] [stdout]     |                     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTimer` in this scope
[INFO] [stdout]    --> src/main.rs:124:21
[INFO] [stdout]     |
[INFO] [stdout] 124 |                     SetTimer(hwnd, TIMER_ID, 1, None);
[INFO] [stdout]     |                     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope
[INFO] [stdout]    --> src/main.rs:134:25
[INFO] [stdout]     |
[INFO] [stdout] 134 |                         GetCursorPos(&mut cursor_pos);
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MoveWindow` in this scope
[INFO] [stdout]    --> src/main.rs:158:29
[INFO] [stdout]     |
[INFO] [stdout] 158 | ...                   MoveWindow(state.wHandle.unwrap(), b.x, b.y, b.w, b.h, 1);
[INFO] [stdout]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `KillTimer` in this scope
[INFO] [stdout]    --> src/main.rs:161:25
[INFO] [stdout]     |
[INFO] [stdout] 161 |                         KillTimer(hwnd, TIMER_ID);
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope
[INFO] [stdout]    --> src/main.rs:168:29
[INFO] [stdout]     |
[INFO] [stdout] 168 | ...                   SendInput(1, &mut input, mem::size_of_val(&input) as _);
[INFO] [stdout]     |                       ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope
[INFO] [stdout]    --> src/main.rs:170:29
[INFO] [stdout]     |
[INFO] [stdout] 170 | ...                   DestroyWindow(hwnd);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope
[INFO] [stdout]    --> src/main.rs:175:29
[INFO] [stdout]     |
[INFO] [stdout] 175 | ...                   DestroyWindow(hwnd);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCursorPos` in this scope
[INFO] [stdout]    --> src/main.rs:179:25
[INFO] [stdout]     |
[INFO] [stdout] 179 |                         SetCursorPos(this_movement.x, this_movement.y);
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MoveWindow` in this scope
[INFO] [stdout]    --> src/main.rs:185:25
[INFO] [stdout]     |
[INFO] [stdout] 185 |                         MoveWindow(state.wHandle.unwrap(), b.x, b.y, b.w, b.h, 1);
[INFO] [stdout]     |                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope
[INFO] [stdout]    --> src/main.rs:194:33
[INFO] [stdout]     |
[INFO] [stdout] 194 | ...                   SendInput(1, &mut input, mem::size_of_val(&input) as _);
[INFO] [stdout]     |                       ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTimer` in this scope
[INFO] [stdout]    --> src/main.rs:197:33
[INFO] [stdout]     |
[INFO] [stdout] 197 | ...                   SetTimer(
[INFO] [stdout]     |                       ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope
[INFO] [stdout]    --> src/main.rs:204:33
[INFO] [stdout]     |
[INFO] [stdout] 204 | ...                   DestroyWindow(hwnd);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTimer` in this scope
[INFO] [stdout]    --> src/main.rs:209:25
[INFO] [stdout]     |
[INFO] [stdout] 209 |                         SetTimer(hwnd, TIMER_ID, next_movement.unwrap().dt as u32, None);
[INFO] [stdout]     |                         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope
[INFO] [stdout]    --> src/main.rs:216:27
[INFO] [stdout]     |
[INFO] [stdout] 216 |                 let hdc = BeginPaint(hwnd, &mut ps);
[INFO] [stdout]     |                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope
[INFO] [stdout]    --> src/main.rs:218:17
[INFO] [stdout]     |
[INFO] [stdout] 218 |                 GetClientRect(hwnd, &mut rc);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope
[INFO] [stdout]    --> src/main.rs:220:17
[INFO] [stdout]     |
[INFO] [stdout] 220 |                 FillRect(hdc, &rc, brush);
[INFO] [stdout]     |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in this scope
[INFO] [stdout]    --> src/main.rs:222:17
[INFO] [stdout]     |
[INFO] [stdout] 222 |                 EndPaint(hwnd, &ps);
[INFO] [stdout]     |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stdout]    --> src/main.rs:226:17
[INFO] [stdout]     |
[INFO] [stdout] 226 |                 PostQuitMessage(0);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stdout]    --> src/main.rs:229:18
[INFO] [stdout]     |
[INFO] [stdout] 229 |             _ => DefWindowProcW(hwnd, msg, wparam, lparam),
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope
[INFO] [stdout]    --> src/main.rs:237:10
[INFO] [stdout]     |
[INFO] [stdout] 236 | /     std::ffi::OsStr::new(s)
[INFO] [stdout] 237 | |         .encode_wide()
[INFO] [stdout]     | |         -^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope
[INFO] [stdout]    --> src/main.rs:380:37
[INFO] [stdout]     |
[INFO] [stdout] 380 |         let screen_width = unsafe { GetSystemMetrics(SM_CXVIRTUALSCREEN) };
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope
[INFO] [stdout]    --> src/main.rs:381:38
[INFO] [stdout]     |
[INFO] [stdout] 381 |         let screen_height = unsafe { GetSystemMetrics(SM_CYVIRTUALSCREEN) };
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope
[INFO] [stdout]    --> src/main.rs:390:22
[INFO] [stdout]     |
[INFO] [stdout] 390 |             hCursor: LoadCursorW(null_mut(), IDC_ARROW),
[INFO] [stdout]     |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope
[INFO] [stdout]    --> src/main.rs:396:9
[INFO] [stdout]     |
[INFO] [stdout] 396 |         RegisterClassW(&wc);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope
[INFO] [stdout]    --> src/main.rs:415:17
[INFO] [stdout]     |
[INFO] [stdout] 415 |                 GetCursorPos(&mut from_pos);
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope
[INFO] [stdout]    --> src/main.rs:422:39
[INFO] [stdout]     |
[INFO] [stdout] 422 |                     let fg = unsafe { GetForegroundWindow() };
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope
[INFO] [stdout]    --> src/main.rs:428:33
[INFO] [stdout]     |
[INFO] [stdout] 428 |                     if unsafe { GetWindowRect(fg, &mut rect) } == 0 {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]    --> src/main.rs:446:20
[INFO] [stdout]     |
[INFO] [stdout] 446 |         let hwnd = CreateWindowExW(
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLayeredWindowAttributes` in this scope
[INFO] [stdout]    --> src/main.rs:469:9
[INFO] [stdout]     |
[INFO] [stdout] 469 |         SetLayeredWindowAttributes(hwnd, 0, 128, LWA_ALPHA);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope
[INFO] [stdout]    --> src/main.rs:471:9
[INFO] [stdout]     |
[INFO] [stdout] 471 |         ShowWindow(hwnd, SW_SHOW);
[INFO] [stdout]     |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateWindow` in this scope
[INFO] [stdout]    --> src/main.rs:472:9
[INFO] [stdout]     |
[INFO] [stdout] 472 |         UpdateWindow(hwnd);
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope
[INFO] [stdout]    --> src/main.rs:475:15
[INFO] [stdout]     |
[INFO] [stdout] 475 |         while GetMessageW(&mut msg, null_mut(), 0, 0) > 0 {
[INFO] [stdout]     |               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope
[INFO] [stdout]    --> src/main.rs:476:13
[INFO] [stdout]     |
[INFO] [stdout] 476 |             TranslateMessage(&msg);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stdout]    --> src/main.rs:477:13
[INFO] [stdout]     |
[INFO] [stdout] 477 |             DispatchMessageW(&msg);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `INPUT` in this scope
[INFO] [stdout]    --> src/main.rs:163:45
[INFO] [stdout]     |
[INFO] [stdout] 163 | ...                   let mut input = INPUT {
[INFO] [stdout]     |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INPUT_MOUSE` in this scope
[INFO] [stdout]    --> src/main.rs:164:40
[INFO] [stdout]     |
[INFO] [stdout] 164 | ...                   type_: INPUT_MOUSE,
[INFO] [stdout]     |                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_LEFTUP` in this scope
[INFO] [stdout]    --> src/main.rs:167:56
[INFO] [stdout]     |
[INFO] [stdout] 167 | ...                   input.u.mi_mut().dwFlags = MOUSEEVENTF_LEFTUP;
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `INPUT` in this scope
[INFO] [stdout]    --> src/main.rs:189:49
[INFO] [stdout]     |
[INFO] [stdout] 189 | ...                   let mut input = INPUT {
[INFO] [stdout]     |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INPUT_MOUSE` in this scope
[INFO] [stdout]    --> src/main.rs:190:44
[INFO] [stdout]     |
[INFO] [stdout] 190 | ...                   type_: INPUT_MOUSE,
[INFO] [stdout]     |                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_LEFTDOWN` in this scope
[INFO] [stdout]    --> src/main.rs:193:60
[INFO] [stdout]     |
[INFO] [stdout] 193 | ...                   input.u.mi_mut().dwFlags = MOUSEEVENTF_LEFTDOWN;
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PAINTSTRUCT` in this scope
[INFO] [stdout]    --> src/main.rs:215:29
[INFO] [stdout]     |
[INFO] [stdout] 215 |                 let mut ps: PAINTSTRUCT = std::mem::zeroed();
[INFO] [stdout]     |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_CXVIRTUALSCREEN` in this scope
[INFO] [stdout]    --> src/main.rs:380:54
[INFO] [stdout]     |
[INFO] [stdout] 380 |         let screen_width = unsafe { GetSystemMetrics(SM_CXVIRTUALSCREEN) };
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_CYVIRTUALSCREEN` in this scope
[INFO] [stdout]    --> src/main.rs:381:55
[INFO] [stdout]     |
[INFO] [stdout] 381 |         let screen_height = unsafe { GetSystemMetrics(SM_CYVIRTUALSCREEN) };
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope
[INFO] [stdout]    --> src/main.rs:383:18
[INFO] [stdout]     |
[INFO] [stdout] 383 |         let wc = WNDCLASSW {
[INFO] [stdout]     |                  ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in this scope
[INFO] [stdout]    --> src/main.rs:384:20
[INFO] [stdout]     |
[INFO] [stdout] 384 |             style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stdout]     |                    ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in this scope
[INFO] [stdout]    --> src/main.rs:384:33
[INFO] [stdout]     |
[INFO] [stdout] 384 |             style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stdout]     |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope
[INFO] [stdout]    --> src/main.rs:390:46
[INFO] [stdout]     |
[INFO] [stdout] 390 |             hCursor: LoadCursorW(null_mut(), IDC_ARROW),
[INFO] [stdout]     |                                              ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_LAYERED` in this scope
[INFO] [stdout]    --> src/main.rs:447:13
[INFO] [stdout]     |
[INFO] [stdout] 447 |             WS_EX_LAYERED | WS_EX_TOPMOST | WS_EX_TOOLWINDOW | WS_EX_TRANSPARENT,
[INFO] [stdout]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOPMOST` in this scope
[INFO] [stdout]    --> src/main.rs:447:29
[INFO] [stdout]     |
[INFO] [stdout] 447 |             WS_EX_LAYERED | WS_EX_TOPMOST | WS_EX_TOOLWINDOW | WS_EX_TRANSPARENT,
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOOLWINDOW` in this scope
[INFO] [stdout]    --> src/main.rs:447:45
[INFO] [stdout]     |
[INFO] [stdout] 447 |             WS_EX_LAYERED | WS_EX_TOPMOST | WS_EX_TOOLWINDOW | WS_EX_TRANSPARENT,
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_TRANSPARENT` in this scope
[INFO] [stdout]    --> src/main.rs:447:64
[INFO] [stdout]     |
[INFO] [stdout] 447 |             WS_EX_LAYERED | WS_EX_TOPMOST | WS_EX_TOOLWINDOW | WS_EX_TRANSPARENT,
[INFO] [stdout]     |                                                                ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope
[INFO] [stdout]    --> src/main.rs:450:13
[INFO] [stdout]     |
[INFO] [stdout] 450 |             WS_POPUP | WS_VISIBLE,
[INFO] [stdout]     |             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope
[INFO] [stdout]    --> src/main.rs:450:24
[INFO] [stdout]     |
[INFO] [stdout] 450 |             WS_POPUP | WS_VISIBLE,
[INFO] [stdout]     |                        ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `LWA_ALPHA` in this scope
[INFO] [stdout]    --> src/main.rs:469:50
[INFO] [stdout]     |
[INFO] [stdout] 469 |         SetLayeredWindowAttributes(hwnd, 0, 128, LWA_ALPHA);
[INFO] [stdout]     |                                                  ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope
[INFO] [stdout]    --> src/main.rs:471:26
[INFO] [stdout]     |
[INFO] [stdout] 471 |         ShowWindow(hwnd, SW_SHOW);
[INFO] [stdout]     |                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MSG` in this scope
[INFO] [stdout]    --> src/main.rs:474:22
[INFO] [stdout]     |
[INFO] [stdout] 474 |         let mut msg: MSG = std::mem::zeroed();
[INFO] [stdout]     |                      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RefCell` and `UnsafeCell`
[INFO] [stdout]  --> src/main.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cell::{RefCell, UnsafeCell};
[INFO] [stdout]   |                 ^^^^^^^  ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Mutex`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::Mutex;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `env`
[INFO] [stdout]   --> src/main.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::{env, mem};
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Args`, `Command`, and `command`
[INFO] [stdout]   --> src/main.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | use clap::{Args, Command, Parser, Subcommand, command};
[INFO] [stdout]    |            ^^^^  ^^^^^^^                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope
[INFO] [stdout]    --> src/main.rs:116:21
[INFO] [stdout]     |
[INFO] [stdout] 116 |                     GetCursorPos(&mut cursor_pos);
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTimer` in this scope
[INFO] [stdout]    --> src/main.rs:122:21
[INFO] [stdout]     |
[INFO] [stdout] 122 |                     SetTimer(hwnd, TIMER_ID, 10, None);
[INFO] [stdout]     |                     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTimer` in this scope
[INFO] [stdout]    --> src/main.rs:124:21
[INFO] [stdout]     |
[INFO] [stdout] 124 |                     SetTimer(hwnd, TIMER_ID, 1, None);
[INFO] [stdout]     |                     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope
[INFO] [stdout]    --> src/main.rs:134:25
[INFO] [stdout]     |
[INFO] [stdout] 134 |                         GetCursorPos(&mut cursor_pos);
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MoveWindow` in this scope
[INFO] [stdout]    --> src/main.rs:158:29
[INFO] [stdout]     |
[INFO] [stdout] 158 | ...                   MoveWindow(state.wHandle.unwrap(), b.x, b.y, b.w, b.h, 1);
[INFO] [stdout]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `KillTimer` in this scope
[INFO] [stdout]    --> src/main.rs:161:25
[INFO] [stdout]     |
[INFO] [stdout] 161 |                         KillTimer(hwnd, TIMER_ID);
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mousetool` (bin "mousetool" test) due to 65 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope
[INFO] [stdout]    --> src/main.rs:168:29
[INFO] [stdout]     |
[INFO] [stdout] 168 | ...                   SendInput(1, &mut input, mem::size_of_val(&input) as _);
[INFO] [stdout]     |                       ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope
[INFO] [stdout]    --> src/main.rs:170:29
[INFO] [stdout]     |
[INFO] [stdout] 170 | ...                   DestroyWindow(hwnd);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope
[INFO] [stdout]    --> src/main.rs:175:29
[INFO] [stdout]     |
[INFO] [stdout] 175 | ...                   DestroyWindow(hwnd);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCursorPos` in this scope
[INFO] [stdout]    --> src/main.rs:179:25
[INFO] [stdout]     |
[INFO] [stdout] 179 |                         SetCursorPos(this_movement.x, this_movement.y);
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MoveWindow` in this scope
[INFO] [stdout]    --> src/main.rs:185:25
[INFO] [stdout]     |
[INFO] [stdout] 185 |                         MoveWindow(state.wHandle.unwrap(), b.x, b.y, b.w, b.h, 1);
[INFO] [stdout]     |                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope
[INFO] [stdout]    --> src/main.rs:194:33
[INFO] [stdout]     |
[INFO] [stdout] 194 | ...                   SendInput(1, &mut input, mem::size_of_val(&input) as _);
[INFO] [stdout]     |                       ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTimer` in this scope
[INFO] [stdout]    --> src/main.rs:197:33
[INFO] [stdout]     |
[INFO] [stdout] 197 | ...                   SetTimer(
[INFO] [stdout]     |                       ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope
[INFO] [stdout]    --> src/main.rs:204:33
[INFO] [stdout]     |
[INFO] [stdout] 204 | ...                   DestroyWindow(hwnd);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTimer` in this scope
[INFO] [stdout]    --> src/main.rs:209:25
[INFO] [stdout]     |
[INFO] [stdout] 209 |                         SetTimer(hwnd, TIMER_ID, next_movement.unwrap().dt as u32, None);
[INFO] [stdout]     |                         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope
[INFO] [stdout]    --> src/main.rs:216:27
[INFO] [stdout]     |
[INFO] [stdout] 216 |                 let hdc = BeginPaint(hwnd, &mut ps);
[INFO] [stdout]     |                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope
[INFO] [stdout]    --> src/main.rs:218:17
[INFO] [stdout]     |
[INFO] [stdout] 218 |                 GetClientRect(hwnd, &mut rc);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope
[INFO] [stdout]    --> src/main.rs:220:17
[INFO] [stdout]     |
[INFO] [stdout] 220 |                 FillRect(hdc, &rc, brush);
[INFO] [stdout]     |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in this scope
[INFO] [stdout]    --> src/main.rs:222:17
[INFO] [stdout]     |
[INFO] [stdout] 222 |                 EndPaint(hwnd, &ps);
[INFO] [stdout]     |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stdout]    --> src/main.rs:226:17
[INFO] [stdout]     |
[INFO] [stdout] 226 |                 PostQuitMessage(0);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stdout]    --> src/main.rs:229:18
[INFO] [stdout]     |
[INFO] [stdout] 229 |             _ => DefWindowProcW(hwnd, msg, wparam, lparam),
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope
[INFO] [stdout]    --> src/main.rs:237:10
[INFO] [stdout]     |
[INFO] [stdout] 236 | /     std::ffi::OsStr::new(s)
[INFO] [stdout] 237 | |         .encode_wide()
[INFO] [stdout]     | |         -^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mousetool` (bin "mousetool") due to 65 previous errors; 4 warnings emitted
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope
[INFO] [stdout]    --> src/main.rs:380:37
[INFO] [stdout]     |
[INFO] [stdout] 380 |         let screen_width = unsafe { GetSystemMetrics(SM_CXVIRTUALSCREEN) };
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope
[INFO] [stdout]    --> src/main.rs:381:38
[INFO] [stdout]     |
[INFO] [stdout] 381 |         let screen_height = unsafe { GetSystemMetrics(SM_CYVIRTUALSCREEN) };
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope
[INFO] [stdout]    --> src/main.rs:390:22
[INFO] [stdout]     |
[INFO] [stdout] 390 |             hCursor: LoadCursorW(null_mut(), IDC_ARROW),
[INFO] [stdout]     |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope
[INFO] [stdout]    --> src/main.rs:396:9
[INFO] [stdout]     |
[INFO] [stdout] 396 |         RegisterClassW(&wc);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope
[INFO] [stdout]    --> src/main.rs:415:17
[INFO] [stdout]     |
[INFO] [stdout] 415 |                 GetCursorPos(&mut from_pos);
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope
[INFO] [stdout]    --> src/main.rs:422:39
[INFO] [stdout]     |
[INFO] [stdout] 422 |                     let fg = unsafe { GetForegroundWindow() };
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope
[INFO] [stdout]    --> src/main.rs:428:33
[INFO] [stdout]     |
[INFO] [stdout] 428 |                     if unsafe { GetWindowRect(fg, &mut rect) } == 0 {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]    --> src/main.rs:446:20
[INFO] [stdout]     |
[INFO] [stdout] 446 |         let hwnd = CreateWindowExW(
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLayeredWindowAttributes` in this scope
[INFO] [stdout]    --> src/main.rs:469:9
[INFO] [stdout]     |
[INFO] [stdout] 469 |         SetLayeredWindowAttributes(hwnd, 0, 128, LWA_ALPHA);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope
[INFO] [stdout]    --> src/main.rs:471:9
[INFO] [stdout]     |
[INFO] [stdout] 471 |         ShowWindow(hwnd, SW_SHOW);
[INFO] [stdout]     |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateWindow` in this scope
[INFO] [stdout]    --> src/main.rs:472:9
[INFO] [stdout]     |
[INFO] [stdout] 472 |         UpdateWindow(hwnd);
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope
[INFO] [stdout]    --> src/main.rs:475:15
[INFO] [stdout]     |
[INFO] [stdout] 475 |         while GetMessageW(&mut msg, null_mut(), 0, 0) > 0 {
[INFO] [stdout]     |               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope
[INFO] [stdout]    --> src/main.rs:476:13
[INFO] [stdout]     |
[INFO] [stdout] 476 |             TranslateMessage(&msg);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stdout]    --> src/main.rs:477:13
[INFO] [stdout]     |
[INFO] [stdout] 477 |             DispatchMessageW(&msg);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "24cb42327991d1e88389790396516418adfa1c346431a6b810985ed23ed40a54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24cb42327991d1e88389790396516418adfa1c346431a6b810985ed23ed40a54", kill_on_drop: false }`
[INFO] [stdout] 24cb42327991d1e88389790396516418adfa1c346431a6b810985ed23ed40a54
